package com.yunyao.framework.vo.payment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author xingjishuai
 * @date 2024-08-12
 */
@Data
public class PaymentNodeVO implements Serializable {
    private static final long serialVersionUID = 7358840071555613297L;
    /**
     * 主键
     */
    private String id;

    /**
     * 付款节点id
     */
    private String nodeId;

    /**
     * 付款节点名称
     */
    private String nodeName;

    /**
     * 回款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date backPaymentDate;

    /**
     * 收款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date receiveDate;

    /**
     * 收款金额
     */
    private BigDecimal receivePrice;

    /**
     * 完成状态 1完成 0未完成
     */
    private String receiveStatus;

    /**
     * 合同ID
     */
    private String contractId;

    /**
     * 收款ID
     */
    private String receiveId;

    /**
     * 状态
     */
    @TableField("`status`")
    private Integer status;

    /**
     * 流程状态
     */
    private String auditStatus;

    /**
     * 节点类型 0=合同预付款 1=订单预付款 2=订单实付款
     */
    private String nodeType;

    private String nodeTriggerType;
}
